package com.site.wisdom_construction.service.iotModule;

import com.site.wisdom_construction.dao.iotModule.TowerCraneBasicDao;
import com.site.wisdom_construction.entity.iotModule.TowerCraneBasic;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/8/31
 * @Description
 */
@Service
public class TowerCraneBasicService implements TowerCraneBasicDao {
    @Autowired
    private TowerCraneBasicDao towerCraneBasicDao;

    @Override
    public List<TowerCraneBasic> findTowerCraneBasicByPage(Map map) {
        return towerCraneBasicDao.findTowerCraneBasicByPage(map);
    }

    @Override
    public long Total(Map map) {
        return towerCraneBasicDao.Total(map);
    }

    @Override
    public TowerCraneBasic findTowerCraneBasicByDeviceId(Map map) {
        return towerCraneBasicDao.findTowerCraneBasicByDeviceId(map);
    }

    @Override
    public List<TowerCraneBasic> selectTowerCraneBasic(Map map) {
        return towerCraneBasicDao.selectTowerCraneBasic(map);
    }


}
